package com.woniuxy.java106crm.service;

import com.woniuxy.java106crm.entity.Customer;
import com.woniuxy.java106crm.request.ResPage;
import com.woniuxy.java106crm.vo.CustomerVo;

import java.util.List;

public interface CustomerService {
    ResPage<List<Customer>> findAllCustomers(Integer page, Integer size);

    boolean updateCustomer(Customer customer);

    void updateStatusById(String id);

    boolean addCustomer(CustomerVo customerVo);

    ResPage<List<Customer>> queryCondition(Integer page, Integer size, Customer customer);
}
